package com.aaa.project.service;

import com.aaa.entity.UComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.security.Principal;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangxuhui
 * @since 2023-02-08
 */
public interface IUCommentService extends IService<UComment> {

    PageInfo findMyComment(Principal principal, Integer pageSize, Integer pageCurrent, String id);

    PageInfo findAllComment(Integer pageCurrent, Integer pageSize,String id);

    List<Map<String,Object>> findGuan(String bid, Principal principal);
}
